package pojo;

import java.util.Date;

public class Parking {
    private String parkingId;

    private String propertyId;

    private String parkingNo;

    private String rentId;

    private Date rentTime;

    private Long rentMoney;

    private String rentWay;

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Integer getIsDeleted() {
        return isDeleted;
    }

    public void setIsDeleted(Integer isDeleted) {
        this.isDeleted = isDeleted;
    }

    private String parkingPropertyRight;

    private Date createTime;

    private Date updateTime;

    private Integer isDeleted;

    public Parking(String parkingId, String propertyId, String parkingNo, String rentId, Date rentTime, Long rentMoney, String rentWay, String parkingPropertyRight) {
        this.parkingId = parkingId;
        this.propertyId = propertyId;
        this.parkingNo = parkingNo;
        this.rentId = rentId;
        this.rentTime = rentTime;
        this.rentMoney = rentMoney;
        this.rentWay = rentWay;
        this.parkingPropertyRight = parkingPropertyRight;
    }

    public Parking() {
        super();
    }

    public String getParkingId() {
        return parkingId;
    }

    public void setParkingId(String parkingId) {
        this.parkingId = parkingId == null ? null : parkingId.trim();
    }

    public String getPropertyId() {
        return propertyId;
    }

    public void setPropertyId(String propertyId) {
        this.propertyId = propertyId == null ? null : propertyId.trim();
    }

    public String getParkingNo() {
        return parkingNo;
    }

    public void setParkingNo(String parkingNo) {
        this.parkingNo = parkingNo == null ? null : parkingNo.trim();
    }

    public String getRentId() {
        return rentId;
    }

    public void setRentId(String rentId) {
        this.rentId = rentId == null ? null : rentId.trim();
    }

    public Date getRentTime() {
        return rentTime;
    }

    public void setRentTime(Date rentTime) {
        this.rentTime = rentTime;
    }

    public Long getRentMoney() {
        return rentMoney;
    }

    public void setRentMoney(Long rentMoney) {
        this.rentMoney = rentMoney;
    }

    public String getRentWay() {
        return rentWay;
    }

    public void setRentWay(String rentWay) {
        this.rentWay = rentWay == null ? null : rentWay.trim();
    }

    public String getParkingPropertyRight() {
        return parkingPropertyRight;
    }

    public void setParkingPropertyRight(String parkingPropertyRight) {
        this.parkingPropertyRight = parkingPropertyRight == null ? null : parkingPropertyRight.trim();
    }

    @Override
    public String toString() {
        return "Parking{" +
                "parkingId='" + parkingId + '\'' +
                ", propertyId='" + propertyId + '\'' +
                ", parkingNo='" + parkingNo + '\'' +
                ", rentId='" + rentId + '\'' +
                ", rentTime=" + rentTime +
                ", rentMoney=" + rentMoney +
                ", rentWay='" + rentWay + '\'' +
                ", parkingPropertyRight='" + parkingPropertyRight + '\'' +
                ", createTime=" + createTime +
                ", updateTime=" + updateTime +
                ", isDeleted=" + isDeleted +
                '}';
    }
}